/* 页面背景 */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('../images/img.png'); /* 使用背景图片 */
    background-size: cover; /* 背景图像自动缩放以覆盖整个屏幕 */
    background-position: center center; /* 背景图片居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    overflow: hidden;
}

/* 主容器 */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.2); /* 背景半透明 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

/* 左侧布局 */
.left-side {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.left-side h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.left-side p {
    font-size: 18px;
}

/* 右侧布局，注册表单 */
.right-side {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    color: #333;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.right-side h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.right-side form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 改进输入框样式 */
.right-side label {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}
.right-side input[type="text"] {
    padding: 15px;
    width: 80%;
    max-width: 300px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f7f7f7;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.right-side input[type="password"] {
    padding: 15px;
    width: 80%;
    max-width: 300px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f7f7f7;
    color: #333;
    font-size: 16px;
    transition: all 0.3s ease;
}

.right-side input[type="password"]:nth-child(3) {
    margin-bottom: 30px;
}

/* 当输入框获得焦点时的样式 */
.right-side input[type="text"]:focus {
    border-color: #ff80bf;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(255, 128, 191, 0.7);
    outline: none;
}

/* 当输入框获得焦点时的样式 */
.right-side input[type="password"]:focus {
    border-color: #ff80bf;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(255, 128, 191, 0.7);
    outline: none;
}

/* 注册按钮样式 */
.right-side button {
    padding: 12px 20px;
    width: 80%;
    max-width: 300px;
    background-color:  #6e6664;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.right-side button:hover {
    background-color: #ff4d94;
}

/* 提示消息 */
.right-side p {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    color: #333;
}

.right-side p a {
    color: #9d15bc;
    text-decoration: none;
}

.right-side p a:hover {
    text-decoration: underline;
}
